package basic.primitive;

/**
 * @author Cheng Jun Description: 我可能真的 没那么了解 Integer类型
 * @version 1.0
 * @date 2022/1/27 16:36
 */
public class IntegerStudy {

  public static void main(String[] args) {
    // double a = 0.5;
    // System.out.println(a - 0.1D);

    int num = 2;
    System.out.println(Integer.toBinaryString(num));
    System.out.println(Integer.toBinaryString(Integer.MAX_VALUE));

    System.out.println(Integer.MAX_VALUE + 1);
    System.out.println(Integer.MIN_VALUE);
  }
}
